package edu.kit.csl.cratyli.control;

import edu.kit.csl.cratyli.datatypes.Word;

/**
 * The writing system defines the string representation of a target word. It
 * therefore converts a blank separated phoneme string into a unique and more
 * readable string without blanks. Those string representations are used in the
 * output files regarding the extracted parallel corpus or in the pronunciation
 * dictionary.
 */
public interface WritingSystem {

	/**
	 * Converts a blank separated phoneme string into the writing system's
	 * representation. The returned string should not contain any blank 
	 * symbols.
	 * 
	 * @param word the word containing a blank separated phoneme string
	 * @return the string representation in the writing system
	 */
	String convert(Word word);
}
